package com.lhd._04mybatis.mapper;

import com.lhd._04mybatis.pojo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author lhd
 * @date 2024/4/17
 * @apiNote
 */
@Mapper
public interface UserMapper {
//    @Insert("INSERT INTO user(id,username,password,nickname,created)" +
//            "VALUES (#{id},#{username},#{password},#{nickname},#{created})")
    void insertUser(User user);
}
